

import request from '@/api/index'

// 测算运费
export const costCalculate = (data) => {
    return request({
        url: `/base/quotationManagement/costCalculate`,
        params: data
    })
}
const params = {
    pageSize: 99999999999999,
    pageNum: 1
  }
// 店铺列表
export const shop= ()=> {
    return request({
        url: `/base/manage/shopInfo/list`,
        params
    })
}
// 仓库列表
export const warehouse= ()=> {
    return request({
        url: `/base/manage/warehouse/list`,
        params:{
            pageSize: 9999,
            pageNum: 1
        }
    })
}
// 目的地列表
export const destination= ()=> {
    return request({
        url: `/base/manageDestinationMaintenance/queryList`,
        params
    })
}
// 货物类型列表
export const cargoCategory= ()=> {
    return request({
        url: `/base/manageCargoCategory/queryList`,
        params
    })
}
// 时效列表
export const timely= ()=> {
    return request({
        url: `/base/manage/timelyMaintenance/list`,
        params
    })
}
// 自提点列表
export const selfPickupPoint= ()=> {
    return request({
        url: `/base/selfPickupPoint/list`,
        params
    })
}
 